package com.company.作业;

import java.util.Scanner;

public class Test1 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        System.out.println("请输入取出的金额");
        int out=scanner.nextInt();
        Bank in=new Bank();
        try{
            in.getMoney(out);
        }catch(BankException c){
            System.out.println(c.getMessage());
        }
    }
}
